if(!function($){"use strict";$.fn.fitVids=function(options){var head,div,settings={customSelector:null,ignore:null};return document.getElementById("fit-vids-style")||(head=document.head||document.getElementsByTagName("head")[0],(div=document.createElement("div")).innerHTML='

x

',head.appendChild(div.childNodes[1])),options&&$.extend(settings,options),this.each(function(){var selectors=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"],ignoreList=(settings.customSelector&&selectors.push(settings.customSelector),".fitvidsignore"),selectors=(settings.ignore&&(ignoreList=ignoreList+", "+settings.ignore),$(this).find(selectors.join(",")));(selectors=(selectors=selectors.not("object object")).not(ignoreList)).each(function(){var aspectRatio,videoName,$this=$(this);0<$this.parents(ignoreList).length||"embed"===this.tagName.toLowerCase()&&$this.parent("object").length||$this.parent(".fluid-width-video-wrapper").length||($this.css("height")||$this.css("width")||!isNaN($this.attr("height"))&&!isNaN($this.attr("width"))||($this.attr("height",9),$this.attr("width",16)),aspectRatio=("object"===this.tagName.toLowerCase()||$this.attr("height")&&!isNaN(parseInt($this.attr("height"),10))?parseInt($this.attr("height"),10):$this.height())/(isNaN(parseInt($this.attr("width"),10))?$this.width():parseInt($this.attr("width"),10)),$this.attr("name")||(videoName="fitvid"+$.fn.fitVids._count,$this.attr("name",videoName),$.fn.fitVids._count++),$this.wrap('
').parent(".fluid-width-video-wrapper").css("padding-top",100*aspectRatio+"%"),$this.removeAttr("height").removeAttr("width"))})})},$.fn.fitVids._count=0}(window.jQuery||window.Zepto),!function(a){"use strict";function b(b,c){this.element=a(b),this.settings=a.extend({},d,c),this._defaults=d,this._init()}var c="Morphext",d={animation:"bounceIn",separator:",",speed:2e3,complete:a.noop};b.prototype={_init:function(){var b=this;this.phrases=[],this.element.addClass("morphext"),a.each(this.element.html().split(this.settings.separator),function(c,d){b.phrases.push(a.trim(d))}),this.index=-1,this.animate(),this.start()},animate:function(){this.index=++this.index%this.phrases.length,this.element[0].innerHTML=''+this.phrases[this.index]+"",a.isFunction(this.settings.complete)&&this.settings.complete.call(this)},start:function(){var a=this;this._interval=setInterval(function(){a.animate()},this.settings.speed)},stop:function(){this._interval=clearInterval(this._interval)}},a.fn[c]=function(d){return this.each(function(){a.data(this,"plugin_"+c)||a.data(this,"plugin_"+c,new b(this,d))})}}(jQuery),!function(a,d,p){a.fn.backstretch=function(c,b){return c!==p&&0!==c.length||a.error("No images were supplied for Backstretch"),0===a(d).scrollTop()&&d.scrollTo(0,0),this.each(function(){var d=a(this),g=d.data("backstretch");if(g){if("string"==typeof c&&"function"==typeof g[c])return void g[c](b);b=a.extend(g.options,b),g.destroy(!0)}g=new q(this,c,b),d.data("backstretch",g)})},a.backstretch=function(c,b){return a("body").backstretch(c,b).data("backstretch")},a.expr[":"].backstretch=function(c){return a(c).data("backstretch")!==p},a.fn.backstretch.defaults={centeredX:!0,centeredY:!0,duration:5e3,fade:0};var r={left:0,top:0,overflow:"hidden",margin:0,padding:0,height:"100%",width:"100%",zIndex:-999999},s={position:"absolute",display:"none",margin:0,padding:0,border:"none",width:"auto",height:"auto",maxHeight:"none",maxWidth:"none",zIndex:-999999},q=function(c,b,e){this.options=a.extend({},a.fn.backstretch.defaults,e||{}),this.images=a.isArray(b)?b:[b],a.each(this.images,function(){a("")[0].src=this}),this.isBody=c===document.body,this.$container=a(c),this.$root=this.isBody?a(l?d:document):this.$container,c=this.$container.children(".backstretch").first(),this.$wrap=c.length?c:a('
').css(r).appendTo(this.$container),this.isBody||(c=this.$container.css("position"),b=this.$container.css("zIndex"),this.$container.css({position:"static"===c?"relative":c,zIndex:"auto"===b?0:b,background:"none"}),this.$wrap.css({zIndex:-999998})),this.$wrap.css({position:this.isBody&&l?"fixed":"absolute"}),this.index=0,this.show(this.index),a(d).on("resize.backstretch",a.proxy(this.resize,this)).on("orientationchange.backstretch",a.proxy(function(){this.isBody&&0===d.pageYOffset&&(d.scrollTo(0,1),this.resize())},this))};q.prototype={resize:function(){try{var f,a={left:0,top:0},b=this.isBody?this.$root.width():this.$root.innerWidth(),e=b,g=this.isBody?d.innerHeight||this.$root.height():this.$root.innerHeight(),j=e/this.$img.data("ratio");g<=j?(f=(j-g)/2,this.options.centeredY&&(a.top="-"+f+"px")):(f=((e=(j=g)*this.$img.data("ratio"))-b)/2,this.options.centeredX&&(a.left="-"+f+"px")),this.$wrap.css({width:b,height:g}).find("img:not(.deleteable)").css({width:e,height:j}).css(a)}catch(h){}return this},show:function(c){var b,e,d;if(!(Math.abs(c)>this.images.length-1))return e=(b=this).$wrap.find("img").addClass("deleteable"),d={relatedTarget:b.$container[0]},b.$container.trigger(a.Event("backstretch.before",d),[b,c]),this.index=c,clearInterval(b.interval),b.$img=a("").css(s).bind("load",function(f){var h=this.width||a(f.target).width();f=this.height||a(f.target).height(),a(this).data("ratio",h/f),a(this).fadeIn(b.options.speed||b.options.fade,function(){e.remove(),b.paused||b.cycle(),a(["after","show"]).each(function(){b.$container.trigger(a.Event("backstretch."+this,d),[b,c])})}),b.resize()}).appendTo(b.$wrap),b.$img.attr("src",b.images[c]),b},next:function(){return this.show(this.indexo.oldScroll?o.forward:o.backward;for(s in this.waypoints[i]){var l,h,a=this.waypoints[i][s];null!==a.triggerPoint&&(l=o.oldScroll=a.triggerPoint,l&&h||!l&&!h)&&(a.queueTrigger(r),t[a.group.id]=a.group)}}for(c in t)t[c].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var e,t=[];for(e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;o=s.oldScroll,f=!y&&!l,!g&&(y&&l)?(d.queueTrigger(s.backward),o[d.group.id]=d.group):(!g&&f||g&&s.oldScroll>=d.triggerPoint)&&(d.queueTrigger(s.forward),o[d.group.id]=d.group)}}return n.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in o)o[t].refresh()},e.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},n.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},n.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}var o={vertical:{},horizontal:{}},n=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i];o.sort("up"===i||"left"===i?e:t);for(var r=0,s=o.length;ro.clientWidth||0<=[i.overflow,i.overflowX].indexOf("scroll")||this.target!==document.body)&&(r=15),e={width:15,height:.975*(r=t.height-parseFloat(i.borderTopWidth)-parseFloat(i.borderBottomWidth)-r)*(r/o.scrollHeight),left:t.left+t.width-parseFloat(i.borderLeftWidth)-15},f=0,r<408&&this.target===document.body&&(f=-11e-5*Math.pow(r,2)-.00727*r+22.58),this.target!==document.body&&(e.height=Math.max(e.height,24)),o=this.target.scrollTop/(o.scrollHeight-r),e.top=o*(r-e.height-f)+t.top+parseFloat(i.borderTopWidth),this.target===document.body&&(e.height=Math.max(e.height,24)),e):void 0}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(t,e){return void 0===this._cache&&(this._cache={}),void 0===this._cache[t]&&(this._cache[t]=e.call(this)),this._cache[t]}},{key:"enable",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&p(this.target,this.getClass("enabled")),p(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach(function(e){e!==t.target.ownerDocument&&e.addEventListener("scroll",t.position)}),e&&this.position()}},{key:"disable",value:function(){var t=this;d(this.target,this.getClass("enabled")),d(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.position)})}},{key:"destroy",value:function(){var t=this;this.disable(),D.forEach(function(e,o){e===t&&D.splice(o,1)}),0===D.length&&s()}},{key:"updateAttachClasses",value:function(t,e){var o=this,n=(t=t||this.attachment,e=e||this.targetAttachment,void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]),this._addAttachClasses),r=(t.top&&n.push(this.getClass("element-attached")+"-"+t.top),t.left&&n.push(this.getClass("element-attached")+"-"+t.left),e.top&&n.push(this.getClass("target-attached")+"-"+e.top),e.left&&n.push(this.getClass("target-attached")+"-"+e.left),[]);["left","top","bottom","right","middle","center"].forEach(function(t){r.push(o.getClass("element-attached")+"-"+t),r.push(o.getClass("target-attached")+"-"+t)}),k(function(){void 0!==o._addAttachClasses&&(m(o.element,o._addAttachClasses,r),!1!==o.options.addTargetClasses&&m(o.target,o._addAttachClasses,r),delete o._addAttachClasses)})}},{key:"position",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();for(var o=function(t,e){var o=t.left,t=t.top;return{left:o="auto"===o?F[e.left]:o,top:t="auto"===t?H[e.top]:t}}(this.targetAttachment,this.attachment),i=(this.updateAttachClasses(this.attachment,o),this.cache("element-bounds",function(){return a(t.element)})),n=i.width,r=i.height,h=(0===n&&0===r&&void 0!==this.lastSize?(n=(s=this.lastSize).width,r=s.height):this.lastSize={width:n,height:r},this.cache("target-bounds",function(){return t.getTargetBounds()})),s=h,p=C(V(this.attachment),{width:n,height:r}),u=C(V(o),s),c=C(this.offset,{width:n,height:r}),g=C(this.targetOffset,s),p=w(p,c),u=w(u,g),m=h.left+u.left-p.left,v=h.top+u.top-p.top,y=0;yA.documentElement.clientHeight&&(S=this.cache("scrollbar-size",l),E.viewport.bottom-=S.height),s.innerWidth>A.documentElement.clientWidth&&(S=this.cache("scrollbar-size",l),E.viewport.right-=S.width),-1!==["","static"].indexOf(A.body.style.position)&&-1!==["","static"].indexOf(A.body.parentElement.style.position)||(E.page.bottom=A.body.scrollHeight-v-r,E.page.right=A.body.scrollWidth-m-n),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var l,e=t.cache("target-offsetparent",function(){return f(t.target)}),o=t.cache("target-offsetparent-bounds",function(){return a(e)}),i=getComputedStyle(e),n=o,r={};["Top","Left","Bottom","Right"].forEach(function(t){r[t.toLowerCase()]=parseFloat(i["border"+t+"Width"])}),o.right=A.body.scrollWidth-o.left-n.width+r.right,o.bottom=A.body.scrollHeight-o.top-n.height+r.bottom,E.page.top>=o.top+r.top&&E.page.bottom>=o.bottom&&E.page.left>=o.left+r.left&&E.page.right>=o.right&&(n=e.scrollTop,l=e.scrollLeft,E.offset={top:E.page.top-o.top+n-r.top,left:E.page.left-o.left+l-r.left})}(),this.move(E),this.history.unshift(E),3c[3]&&"bottom"===v.top&&(o-=p,v.top="top")),"together"===d&&("top"===v.top&&("bottom"===y.top&&oc[3]&&o-(s-p)>=c[1]&&(o-=s-p,v.top="bottom",y.top="bottom")),"bottom"===v.top&&("top"===y.top&&o+s>c[3]?(o-=p,v.top="top",o-=s,y.top="bottom"):"bottom"===y.top&&oc[3]&&"top"===y.top?(o-=s,y.top="bottom"):oc[2]&&"right"===v.left&&(i-=u,v.left="left")),"together"===h&&(ic[2]&&"right"===v.left?"left"===y.left?(i-=u,v.left="left",i-=f,y.left="right"):"right"===y.left&&(i-=u,v.left="left",i+=f,y.left="left"):"center"===v.left&&(i+f>c[2]&&"left"===y.left?(i-=f,y.left="right"):ic[3]&&"top"===y.top&&(o-=s,y.top="bottom")),"element"!==h&&"both"!==h||(ic[2]&&("left"===y.left?(i-=f,y.left="right"):"center"===y.left&&(i-=f/2,y.left="right"))),"string"==typeof t?t=t.split(",").map(function(t){return t.trim()}):!0===t&&(t=["top","left","right","bottom"]),t=t||[],[]),C=[];oc[3]&&(0<=t.indexOf("bottom")?(o=c[3]-s,w):C).push("bottom"),ic[2]&&(0<=t.indexOf("right")?(i=c[2]-f,w):C).push("right"),w.length&&function(){var t=void 0!==e.options.pinnedClass?e.options.pinnedClass:e.getClass("pinned");g.push(t),w.forEach(function(e){g.push(t+"-"+e)})}(),C.length&&function(){var t=void 0!==e.options.outOfBoundsClass?e.options.outOfBoundsClass:e.getClass("out-of-bounds");g.push(t),C.forEach(function(e){g.push(t+"-"+e)})}(),(0<=w.indexOf("left")||0<=w.indexOf("right"))&&(y.left=v.left=!1),(0<=w.indexOf("top")||0<=w.indexOf("bottom"))&&(y.top=v.top=!1),v.top===n.top&&v.left===n.left&&y.top===e.attachment.top&&y.left===e.attachment.left||(e.updateAttachClasses(y,v),e.trigger("update",{attachment:y,targetAttachment:v}))}),k(function(){!1!==e.options.addTargetClasses&&m(e.target,g,c),m(e.element,g,c)}),{top:o,left:i})}});var a=(Y=x.Utils).getBounds,m=Y.updateClasses,k=Y.defer,z=(x.modules.push({position:function(t){var e=this,o=t.top,i=t.left,t=this.cache("element-bounds",function(){return a(e.element)}),r=t.height,t=t.width,f=this.getTargetBounds(),l=o+r,h=i+t,d=[],p=(o<=f.bottom&&l>=f.top&&["left","right"].forEach(function(t){var e=f[t];e!==i&&e!==h||d.push(t)}),i<=f.right&&h>=f.left&&["top","bottom"].forEach(function(t){var e=f[t];e!==o&&e!==l||d.push(t)}),[]),u=[];return p.push(this.getClass("abutted")),["left","top","right","bottom"].forEach(function(t){p.push(e.getClass("abutted")+"-"+t)}),d.length&&u.push(this.getClass("abutted")),d.forEach(function(t){u.push(e.getClass("abutted")+"-"+t)}),k(function(){!1!==e.options.addTargetClasses&&m(e.target,u,p),m(e.element,u,p)}),!0}}),function(e,o){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(t,e){var o=[],i=!0,n=!1,r=void 0;try{for(var s,a=t[Symbol.iterator]();!(i=(s=a.next()).done)&&(o.push(s.value),!e||o.length!==e);i=!0);}catch(f){n=!0,r=f}finally{try{!i&&a.return&&a.return()}finally{if(n)throw r}}return o}(e,o);throw new TypeError("Invalid attempt to destructure non-iterable instance")});return x.modules.push({position:function(t){var i,a,n,r,e=t.top,t=t.left;if(this.options.shift)return i=this.options.shift,r=n=void 0,r="string"==typeof(i="function"==typeof this.options.shift?this.options.shift.call(this,{top:e,left:t}):i)?((i=i.split(" "))[1]=i[1]||i[0],n=(a=z(i,2))[0],r=a[1],n=parseFloat(n,10),parseFloat(r,10)):(n=i.top,i.left),{top:e+=n,left:t+=r}}}),I}),!function($){"use strict";$.fn.counterUp=function(options){var s,settings=$.extend({time:400,delay:10,offset:100,beginAt:0,formatter:!1,context:"window",callback:function(){}},options);return this.each(function(){var $this=$(this),counter={time:$(this).data("counterup-time")||settings.time,delay:$(this).data("counterup-delay")||settings.delay,offset:$(this).data("counterup-offset")||settings.offset,beginAt:$(this).data("counterup-beginat")||settings.beginAt,context:$(this).data("counterup-context")||settings.context};$this.waypoint(function(direction){!function(){var nums=[],divisions=counter.time/counter.delay,num=$this.attr("data-num")?$this.attr("data-num"):$this.text(),isComma=/[0-9]+,[0-9]+/.test(num),decimalPlaces=((num=num.replace(/,/g,"")).split(".")[1]||[]).length,isTime=(counter.beginAt>num&&(counter.beginAt=num),/[0-9]+:[0-9]+:[0-9]+/.test(num));if(isTime){var times=num.split(":"),m=1;for(s=0;0=counter.beginAt/num*divisions;i--){var hours,newNum=parseFloat(num/divisions*i).toFixed(decimalPlaces);if(isTime&&(newNum=parseInt(s/divisions*i),newNum=((hours=parseInt(newNum/3600)%24)<10?"0"+hours:hours)+":"+((hours=parseInt(newNum/60)%60)<10?"0"+hours:hours)+":"+((hours=parseInt(newNum%60,10))<10?"0"+hours:hours)),isComma)for(;/(\d+)(\d{3})/.test(newNum.toString());)newNum=newNum.toString().replace(/(\d+)(\d{3})/,"$1,$2");settings.formatter&&(newNum=settings.formatter.call(this,newNum)),nums.unshift(newNum)}$this.data("counterup-nums",nums),$this.text(counter.beginAt);$this.data("counterup-func",function(){$this.data("counterup-nums")?($this.html($this.data("counterup-nums").shift()),$this.data("counterup-nums").length?setTimeout($this.data("counterup-func"),counter.delay):($this.data("counterup-nums",null),$this.data("counterup-func",null),settings.callback.call(this))):settings.callback.call(this)}),setTimeout($this.data("counterup-func"),counter.delay)}(),this.destroy()},{offset:counter.offset+"%",context:counter.context})})}}(jQuery),!function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){var i;if(t&&e)return-1==(i=(i=this._events=this._events||{})[t]=i[t]||[]).indexOf(e)&&i.push(e),this},e.once=function(t,e){var i;if(t&&e)return this.on(t,e),((i=this._onceEvents=this._onceEvents||{})[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length)return-1!=(e=t.indexOf(e))&&t.splice(e,1),this},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,o=i[n];e=e||[];for(var r=this._onceEvents&&this._onceEvents[t];o;){var s=r&&r[o];s&&(this.off(t,o),delete r[o]),o.apply(this,e),o=i[n+=s?0:1]}return this}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}(window,function(t,e){function i(t,e){for(var i in e)t[i]=e[i];return t}function o(t,e,r){return this instanceof o?("string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=function(t){var e=[];if(Array.isArray(t))e=t;else if("number"==typeof t.length)for(var i=0;ib.$items.length&&(b.s.preload=b.$items.length),window.location.hash);0'),a(".lg-backdrop").css("transition-duration",this.s.backdropDuration+"ms"),e=0;e';this.s.controls&&1
'+this.s.prevHtml+'
'+this.s.nextHtml+"
"),".lg-sub-html"===this.s.appendSubHtmlTo&&(f='
'),d='
'+c+'
'+d+f+"
",a("body").append(d),this.$outer=a(".lg-outer"),this.$slide=this.$outer.find(".lg-item"),this.s.useLeft?(this.$outer.addClass("lg-use-left"),this.s.mode="lg-slide"):this.$outer.addClass("lg-use-css3"),g.setTop(),a(window).on("resize.lg orientationchange.lg",function(){setTimeout(function(){g.setTop()},100)}),this.$slide.eq(this.index).addClass("lg-current"),this.doCss()?this.$outer.addClass("lg-css3"):(this.$outer.addClass("lg-css"),this.s.speed=0),this.$outer.addClass(this.s.mode),this.s.enableDrag&&1'),this.prevScrollTop=a(window).scrollTop()},b.prototype.setTop=function(){var b,c,d;"100%"!==this.s.height&&(c=((b=a(window).height())-parseInt(this.s.height,10))/2,d=this.$outer.find(".lg"),b>=parseInt(this.s.height,10)?d.css("top",c+"px"):d.css("top","0px"))},b.prototype.doCss=function(){return!!function(){for(var a=["transition","MozTransition","WebkitTransition","OTransition","msTransition","KhtmlTransition"],b=document.documentElement,c=0,c=0;c'+(parseInt(this.index,10)+1)+' / '+this.$items.length+"")},b.prototype.addHtml=function(b){var c,d,f,e=null;this.s.dynamic?this.s.dynamicEl[b].subHtmlUrl?c=this.s.dynamicEl[b].subHtmlUrl:e=this.s.dynamicEl[b].subHtml:(d=this.$items.eq(b)).attr("data-sub-html-url")?c=d.attr("data-sub-html-url"):(e=d.attr("data-sub-html"),this.s.getCaptionFromTitleOrAlt&&!e&&(e=d.attr("title")||d.find("img").first().attr("alt"))),c||(null!=e?"."!==(f=e.substring(0,1))&&"#"!==f||(e=(this.s.subHtmlSelectorRelative&&!this.s.dynamic?d.find(e):a(e)).html()):e=""),".lg-sub-html"===this.s.appendSubHtmlTo?c?this.$outer.find(this.s.appendSubHtmlTo).load(c):this.$outer.find(this.s.appendSubHtmlTo).html(e):c?this.$slide.eq(b).load(c):this.$slide.eq(b).append(e),null!=e&&(""===e?this.$outer.find(this.s.appendSubHtmlTo).addClass("lg-empty-html"):this.$outer.find(this.s.appendSubHtmlTo).removeClass("lg-empty-html")),this.$el.trigger("onAfterAppendSubHtml.lg",[b])},b.prototype.preload=function(a){for(var b=1,c=1,b=1;b<=this.s.preload&&!(b>=this.$items.length-a);b++)this.loadContent(a+b,!1,0);for(c=1;c<=this.s.preload&&!(a-c<0);c++)this.loadContent(a-c,!1,0)},b.prototype.loadContent=function(b,c,d){function m(b){for(var c=[],d=[],e=0;eh){f=d[i];break}}var f,g,h,j,k=this,l=!1,i=k.s.dynamic?(k.s.dynamicEl[b].poster&&(l=!0,g=k.s.dynamicEl[b].poster),j=k.s.dynamicEl[b].html,f=k.s.dynamicEl[b].src,k.s.dynamicEl[b].responsive&&m(k.s.dynamicEl[b].responsive.split(",")),h=k.s.dynamicEl[b].srcset,k.s.dynamicEl[b].sizes):(k.$items.eq(b).attr("data-poster")&&(l=!0,g=k.$items.eq(b).attr("data-poster")),j=k.$items.eq(b).attr("data-html"),f=k.$items.eq(b).attr("href")||k.$items.eq(b).attr("data-src"),k.$items.eq(b).attr("data-responsive")&&m(k.$items.eq(b).attr("data-responsive").split(",")),h=k.$items.eq(b).attr("data-srcset"),k.$items.eq(b).attr("data-sizes")),p=!1,q=(k.s.dynamic?k.s.dynamicEl[b].iframe&&(p=!0):"true"===k.$items.eq(b).attr("data-iframe")&&(p=!0),k.isVideo(f,b));if(!k.$slide.eq(b).hasClass("lg-loaded")){if(p?k.$slide.eq(b).prepend('
'):l?(p="",p=q&&q.youtube?"lg-has-youtube":q&&q.vimeo?"lg-has-vimeo":"lg-has-html5",k.$slide.eq(b).prepend('
')):q?(k.$slide.eq(b).prepend('
'),k.$el.trigger("hasVideo.lg",[b,f,j])):k.$slide.eq(b).prepend('
'),k.$el.trigger("onAferAppendSlide.lg",[b]),p=k.$slide.eq(b).find(".lg-object"),i&&p.attr("sizes",i),h){p.attr("srcset",h);try{picturefill({elements:[p[0]]})}catch(a){console.error("Make sure you have included Picturefill version 2")}}".lg-sub-html"!==this.s.appendSubHtmlTo&&k.addHtml(b),k.$slide.eq(b).addClass("lg-loaded")}k.$slide.eq(b).find(".lg-object").on("load.lg error.lg",function(){var c=0;d&&!a("body").hasClass("lg-from-hash")&&(c=d),setTimeout(function(){k.$slide.eq(b).addClass("lg-complete"),k.$el.trigger("onSlideItemLoad.lg",[b,d||0])},c)}),q&&q.html5&&!l&&k.$slide.eq(b).addClass("lg-complete"),!0===c&&(k.$slide.eq(b).hasClass("lg-complete")?k.preload(b):k.$slide.eq(b).find(".lg-object").on("load.lg error.lg",function(){k.preload(b)}))},b.prototype.slide=function(b,c,d,e){var h,i,j,k,l,f=this.$outer.find(".lg-current").index(),g=this;g.lGalleryOn&&f===b||(h=this.$slide.length,i=g.lGalleryOn?this.s.speed:0,g.lgBusy)||(this.s.download&&((j=g.s.dynamic?!1!==g.s.dynamicEl[b].downloadUrl&&(g.s.dynamicEl[b].downloadUrl||g.s.dynamicEl[b].src):"false"!==g.$items.eq(b).attr("data-download-url")&&(g.$items.eq(b).attr("data-download-url")||g.$items.eq(b).attr("href")||g.$items.eq(b).attr("data-src")))?(a("#lg-download").attr("href",j),g.$outer.removeClass("lg-hide-download")):g.$outer.addClass("lg-hide-download")),this.$el.trigger("onBeforeSlide.lg",[f,b,c,d]),g.lgBusy=!0,clearTimeout(g.hideBartimeout),".lg-sub-html"===this.s.appendSubHtmlTo&&setTimeout(function(){g.addHtml(b)},i),this.arrowDisable(b),e||(bb.s.swipeThreshold?b.goToNextSlide(!0):0b.s.swipeThreshold?b.goToPrevSlide(!0):Math.abs(a)<5&&b.$el.trigger("onSlideClick.lg"),b.$slide.removeAttr("style")}),setTimeout(function(){b.$outer.hasClass("lg-dragging")||"lg-slide"===b.s.mode||b.$outer.removeClass("lg-slide")},b.s.speed+100)},b.prototype.enableSwipe=function(){var a=this,b=0,c=0,d=!1;a.s.enableSwipe&&a.isTouch&&a.doCss()&&(a.$slide.on("touchstart.lg",function(c){a.$outer.hasClass("lg-zoomed")||a.lgBusy||(c.preventDefault(),a.manageSwipeClass(),b=c.originalEvent.targetTouches[0].pageX)}),a.$slide.on("touchmove.lg",function(e){a.$outer.hasClass("lg-zoomed")||(e.preventDefault(),c=e.originalEvent.targetTouches[0].pageX,a.touchMove(b,c),d=!0)}),a.$slide.on("touchend.lg",function(){a.$outer.hasClass("lg-zoomed")||(d?(d=!1,a.touchEnd(c-b)):a.$el.trigger("onSlideClick.lg"))}))},b.prototype.enableDrag=function(){var b=this,c=0,d=0,e=!1,f=!1;b.s.enableDrag&&!b.isTouch&&b.doCss()&&(b.$slide.on("mousedown.lg",function(d){b.$outer.hasClass("lg-zoomed")||(a(d.target).hasClass("lg-object")||a(d.target).hasClass("lg-video-play"))&&(d.preventDefault(),b.lgBusy||(b.manageSwipeClass(),c=d.pageX,e=!0,b.$outer.scrollLeft+=1,--b.$outer.scrollLeft,b.$outer.removeClass("lg-grab").addClass("lg-grabbing"),b.$el.trigger("onDragstart.lg")))}),a(window).on("mousemove.lg",function(a){e&&(f=!0,d=a.pageX,b.touchMove(c,d),b.$el.trigger("onDragmove.lg"))}),a(window).on("mouseup.lg",function(g){f?(f=!1,b.touchEnd(d-c),b.$el.trigger("onDragend.lg")):(a(g.target).hasClass("lg-object")||a(g.target).hasClass("lg-video-play"))&&b.$el.trigger("onSlideClick.lg"),e&&(e=!1,b.$outer.removeClass("lg-grabbing").addClass("lg-grab"))}))},b.prototype.manageSwipeClass=function(){var a=this.index+1,b=this.index-1;this.s.loop&&2'):src.vimeo?(a="?autoplay="+autoplay+"&api=1",this.core.s.vimeoPlayerParams&&(a=a+"&"+$.param(this.core.s.vimeoPlayerParams)),video=''):src.dailymotion?(a="?wmode=opaque&autoplay="+autoplay+"&api=postMessage",this.core.s.dailymotionPlayerParams&&(a=a+"&"+$.param(this.core.s.dailymotionPlayerParams)),video=''):src.html5?video=html="."!==(index=html.substring(0,1))&&"#"!==index?html:$(html).html():src.vk&&(a="&autoplay="+autoplay,this.core.s.vkPlayerParams&&(a=a+"&"+$.param(this.core.s.vkPlayerParams)),video=''),video},Video.prototype.destroy=function(){this.videoLoaded=!1},$.fn.lightGallery.modules.video=Video}(jQuery,(window,document)),!function(factory){"function"==typeof define&&define.amd?define(["jquery"],factory):"object"==typeof exports?module.exports=factory(require("jquery")):factory(jQuery)}(function($){var viewportSize,viewportOffset,timer,inviewObjects=[],d=document,w=window,documentElement=d.documentElement;function checkInView(){if(inviewObjects.length){var mode,size,i=0,$elements=$.map(inviewObjects,function(inviewObject){var selector=inviewObject.data.selector,inviewObject=inviewObject.$element;return selector?inviewObject.find(selector):inviewObject});for(viewportSize=viewportSize||(size=(size={height:w.innerHeight,width:w.innerWidth}).height||!(mode=d.compatMode)&&$.support.boxModel?size:{height:(mode="CSS1Compat"===mode?documentElement:d.body).clientHeight,width:mode.clientWidth}),viewportOffset=viewportOffset||{top:w.pageYOffset||documentElement.scrollTop||d.body.scrollTop,left:w.pageXOffset||documentElement.scrollLeft||d.body.scrollLeft};iviewportOffset.top&&elementOffset.topviewportOffset.left&&elementOffset.left{updateWindowHeight()});const jarallaxList=[];function updateParallax(){if(jarallaxList.length){const{width:wndW,height:wndH}=getWindowSize();jarallaxList.forEach((data,k)=>{var clientRect,isResized,{instance:data,oldData}=data;data.isVisible()&&(clientRect={width:(clientRect=data.$item.getBoundingClientRect()).width,height:clientRect.height,top:clientRect.top,bottom:clientRect.bottom,wndW:wndW,wndH:wndH},oldData=(isResized=!oldData||oldData.wndW!==clientRect.wndW||oldData.wndH!==clientRect.wndH||oldData.width!==clientRect.width||oldData.height!==clientRect.height)||!oldData||oldData.top!==clientRect.top||oldData.bottom!==clientRect.bottom,jarallaxList[k].oldData=clientRect,isResized&&data.onResize(),oldData)&&data.onScroll()}),global$1.requestAnimationFrame(updateParallax)}}const visibilityObserver=new global$1.IntersectionObserver(entries=>{entries.forEach(entry=>{entry.target.jarallax.isElementInViewport=entry.isIntersecting})},{rootMargin:"50px"});const navigator=global$1["navigator"];let instanceID=0;class Jarallax{constructor(item,userOptions){const self=this,dataOptions=(self.instanceID=instanceID,instanceID+=1,self.$item=item,self.defaults={...defaults},self.$item.dataset||{}),pureDataOptions={};if(Object.keys(dataOptions).forEach(key=>{var lowerCaseOption=key.substr(0,1).toLowerCase()+key.substr(1);lowerCaseOption&&void 0!==self.defaults[lowerCaseOption]&&(pureDataOptions[lowerCaseOption]=dataOptions[key])}),self.options=self.extend({},self.defaults,pureDataOptions,userOptions),self.pureOptions=self.extend({},self.options),Object.keys(self.options).forEach(key=>{"true"===self.options[key]?self.options[key]=!0:"false"===self.options[key]&&(self.options[key]=!1)}),self.options.speed=Math.min(2,Math.max(-1,parseFloat(self.options.speed))),"string"==typeof self.options.disableParallax&&(self.options.disableParallax=new RegExp(self.options.disableParallax)),self.options.disableParallax instanceof RegExp){const disableParallaxRegexp=self.options.disableParallax;self.options.disableParallax=()=>disableParallaxRegexp.test(navigator.userAgent)}if("function"!=typeof self.options.disableParallax&&(self.options.disableParallax=()=>!1),"string"==typeof self.options.disableVideo&&(self.options.disableVideo=new RegExp(self.options.disableVideo)),self.options.disableVideo instanceof RegExp){const disableVideoRegexp=self.options.disableVideo;self.options.disableVideo=()=>disableVideoRegexp.test(navigator.userAgent)}"function"!=typeof self.options.disableVideo&&(self.options.disableVideo=()=>!1);let elementInVP=self.options.elementInViewport;elementInVP&&"object"==typeof elementInVP&&void 0!==elementInVP.length&&([elementInVP]=elementInVP),elementInVP instanceof Element||(elementInVP=null),self.options.elementInViewport=elementInVP,self.image={src:self.options.imgSrc||null,$container:null,useImgTag:!1,position:"fixed"},self.initImg()&&self.canInitParallax()&&self.init()}css(el,styles){return"string"==typeof styles?global$1.getComputedStyle(el).getPropertyValue(styles):(Object.keys(styles).forEach(key=>{el.style[key]=styles[key]}),el)}extend(out,...args){return function(out,...args){return out=out||{},Object.keys(args).forEach(i=>{args[i]&&Object.keys(args[i]).forEach(key=>{out[key]=args[i][key]})}),out}(out,...args)}getWindowData(){var{width,height}=getWindowSize();return{width:width,height:height,y:document.documentElement.scrollTop}}initImg(){let $imgElement=this.options.imgElement;return($imgElement=$imgElement&&"string"==typeof $imgElement?this.$item.querySelector($imgElement):$imgElement)instanceof Element||(this.options.imgSrc?($imgElement=new Image).src=this.options.imgSrc:$imgElement=null),$imgElement&&(this.options.keepImg?this.image.$item=$imgElement.cloneNode(!0):(this.image.$item=$imgElement,this.image.$itemParent=$imgElement.parentNode),this.image.useImgTag=!0),!(!this.image.$item&&(null===this.image.src&&(this.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",this.image.bgImage=this.css(this.$item,"background-image")),!this.image.bgImage||"none"===this.image.bgImage))}canInitParallax(){return!this.options.disableParallax()}init(){var curStyle,containerStyles={position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"};let imageStyles={pointerEvents:"none",transformStyle:"preserve-3d",backfaceVisibility:"hidden"};this.options.keepImg||((curStyle=this.$item.getAttribute("style"))&&this.$item.setAttribute("data-jarallax-original-styles",curStyle),this.image.useImgTag&&(curStyle=this.image.$item.getAttribute("style"))&&this.image.$item.setAttribute("data-jarallax-original-styles",curStyle)),"static"===this.css(this.$item,"position")&&this.css(this.$item,{position:"relative"}),"auto"===this.css(this.$item,"z-index")&&this.css(this.$item,{zIndex:0}),this.image.$container=document.createElement("div"),this.css(this.image.$container,containerStyles),this.css(this.image.$container,{"z-index":this.options.zIndex}),"fixed"===this.image.position&&this.css(this.image.$container,{"-webkit-clip-path":"polygon(0 0, 100% 0, 100% 100%, 0 100%)","clip-path":"polygon(0 0, 100% 0, 100% 100%, 0 100%)"}),this.image.$container.setAttribute("id","jarallax-container-"+this.instanceID),this.options.containerClass&&this.image.$container.setAttribute("class",this.options.containerClass),this.$item.appendChild(this.image.$container),this.image.useImgTag?imageStyles=this.extend({"object-fit":this.options.imgSize,"object-position":this.options.imgPosition,"max-width":"none"},containerStyles,imageStyles):(this.image.$item=document.createElement("div"),this.image.src&&(imageStyles=this.extend({"background-position":this.options.imgPosition,"background-size":this.options.imgSize,"background-repeat":this.options.imgRepeat,"background-image":this.image.bgImage||`url("${this.image.src}")`},containerStyles,imageStyles))),"opacity"!==this.options.type&&"scale"!==this.options.type&&"scale-opacity"!==this.options.type&&1!==this.options.speed||(this.image.position="absolute"),"fixed"===this.image.position&&(curStyle=function(elem){for(var parents=[];null!==elem.parentElement;)1===(elem=elem.parentElement).nodeType&&parents.push(elem);return parents}(this.$item).filter(el=>{var el=global$1.getComputedStyle(el),parentTransform=el["-webkit-transform"]||el["-moz-transform"]||el.transform;return parentTransform&&"none"!==parentTransform||/(auto|scroll)/.test(el.overflow+el["overflow-y"]+el["overflow-x"])}),this.image.position=curStyle.length?"absolute":"fixed"),imageStyles.position=this.image.position,this.css(this.image.$item,imageStyles),this.image.$container.appendChild(this.image.$item),this.onResize(),this.onScroll(!0),this.options.onInit&&this.options.onInit.call(this),"none"!==this.css(this.$item,"background-image")&&this.css(this.$item,{"background-image":"none"}),containerStyles=this,jarallaxList.push({instance:containerStyles}),1===jarallaxList.length&&global$1.requestAnimationFrame(updateParallax),visibilityObserver.observe(containerStyles.options.elementInViewport||containerStyles.$item)}destroy(){instance=this,jarallaxList.forEach((data,key)=>{data.instance.instanceID===instance.instanceID&&jarallaxList.splice(key,1)}),visibilityObserver.unobserve(instance.options.elementInViewport||instance.$item);var instance,originalStylesImgTag,originalStylesTag=this.$item.getAttribute("data-jarallax-original-styles");this.$item.removeAttribute("data-jarallax-original-styles"),originalStylesTag?this.$item.setAttribute("style",originalStylesTag):this.$item.removeAttribute("style"),this.image.useImgTag&&(originalStylesImgTag=this.image.$item.getAttribute("data-jarallax-original-styles"),this.image.$item.removeAttribute("data-jarallax-original-styles"),originalStylesImgTag?this.image.$item.setAttribute("style",originalStylesTag):this.image.$item.removeAttribute("style"),this.image.$itemParent)&&this.image.$itemParent.appendChild(this.image.$item),this.image.$container&&this.image.$container.parentNode.removeChild(this.image.$container),this.options.onDestroy&&this.options.onDestroy.call(this),delete this.$item.jarallax}coverImage(){var wndH=getWindowSize()["height"],rect=this.image.$container.getBoundingClientRect(),contH=rect.height,speed=this.options["speed"],isScroll="scroll"===this.options.type||"scroll-opacity"===this.options.type;let scrollDist=0,resultH=contH,resultMT=0;return isScroll&&(speed<0?(scrollDist=speed*Math.max(contH,wndH),wndH{jarallax(document.querySelectorAll("[data-jarallax]"))}),jarallax}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");!function(){var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||4<=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),function(){function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var n=0;nthis._items.length-1||e<0||(this._isSliding?t(this._element).one(m.SLID,function(){return n.to(e)}):i===e?(this.pause(),this.cycle()):this._slide(i .show, .card > .collapsing",l='[data-toggle="collapse"]',E=function(){function l(e,i){n(this,l),this._isTransitioning=!1,this._element=e,this._config=this._getConfig(i),this._triggerArray=t.makeArray(t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]')),this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}return l.prototype.toggle=function(){t(this._element).hasClass(g_SHOW)?this.hide():this.show()},l.prototype.show=function(){var n,s,o,i,e=this;if(this._isTransitioning)throw new Error("Collapse is transitioning");t(this._element).hasClass(g_SHOW)||(i=n=void 0,(n=this._parent&&!(n=t.makeArray(t(this._parent).find(m_ACTIVES))).length?null:n)&&(i=t(n).data(a))&&i._isTransitioning)||(o=t.Event(_.SHOW),t(this._element).trigger(o),o.isDefaultPrevented())||(n&&(l._jQueryInterface.call(t(n),"hide"),i||t(n).data(a,null)),s=this._getDimension(),t(this._element).removeClass(g_COLLAPSE).addClass(g_COLLAPSING),this._element.style[s]=0,this._element.setAttribute("aria-expanded",!0),this._triggerArray.length&&t(this._triggerArray).removeClass(g_COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0),o=function(){t(e._element).removeClass(g_COLLAPSING).addClass(g_COLLAPSE).addClass(g_SHOW),e._element.style[s]="",e.setTransitioning(!1),t(e._element).trigger(_.SHOWN)},r.supportsTransitionEnd()?(i="scroll"+(s[0].toUpperCase()+s.slice(1)),t(this._element).one(r.TRANSITION_END,o).emulateTransitionEnd(600),this._element.style[s]=this._element[i]+"px"):o())},l.prototype.hide=function(){var e=this;if(this._isTransitioning)throw new Error("Collapse is transitioning");if(t(this._element).hasClass(g_SHOW)){var o,n=t.Event(_.HIDE);if(t(this._element).trigger(n),!n.isDefaultPrevented())return o=(n=this._getDimension())===p_WIDTH?"offsetWidth":"offsetHeight",this._element.style[n]=this._element[o]+"px",r.reflow(this._element),t(this._element).addClass(g_COLLAPSING).removeClass(g_COLLAPSE).removeClass(g_SHOW),this._element.setAttribute("aria-expanded",!1),this._triggerArray.length&&t(this._triggerArray).addClass(g_COLLAPSED).attr("aria-expanded",!1),this.setTransitioning(!0),o=function(){e.setTransitioning(!1),t(e._element).removeClass(g_COLLAPSING).addClass(g_COLLAPSE).trigger(_.HIDDEN)},this._element.style[n]="",r.supportsTransitionEnd()?void t(this._element).one(r.TRANSITION_END,o).emulateTransitionEnd(600):void o()}},l.prototype.setTransitioning=function(t){this._isTransitioning=t},l.prototype.dispose=function(){t.removeData(this._element,a),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},l.prototype._getConfig=function(n){return(n=t.extend({},d,n)).toggle=Boolean(n.toggle),r.typeCheckConfig(e,n,f),n},l.prototype._getDimension=function(){return t(this._element).hasClass(p_WIDTH)?p_WIDTH:p_HEIGHT},l.prototype._getParent=function(){var e=this,n=t(this._config.parent)[0],i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return t(n).find(i).each(function(t,n){e._addAriaAndCollapsedClass(l._getTargetFromElement(n),[n])}),n},l.prototype._addAriaAndCollapsedClass=function(e,n){var i;e&&(i=t(e).hasClass(g_SHOW),e.setAttribute("aria-expanded",i),n.length)&&t(n).toggleClass(g_COLLAPSED,!i).attr("aria-expanded",i)},l._getTargetFromElement=function(e){e=r.getSelectorFromElement(e);return e?t(e)[0]:null},l._jQueryInterface=function(e){return this.each(function(){var n=t(this),o=n.data(a),r=t.extend({},d,n.data(),"object"===(void 0===e?"undefined":i(e))&&e);if(!o&&r.toggle&&/show|hide/.test(e)&&(r.toggle=!1),o||(o=new l(this,r),n.data(a,o)),"string"==typeof e){if(void 0===o[e])throw new Error('No method named "'+e+'"');o[e]()}})},o(l,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return d}}]),l}();t(document).on(_.CLICK_DATA_API,l,function(e){e.preventDefault();var e=E._getTargetFromElement(this),o=t(e).data(a)?"toggle":t(this).data();E._jQueryInterface.call(t(e),o)}),t.fn[e]=E._jQueryInterface,t.fn[e].Constructor=E,t.fn[e].noConflict=function(){return t.fn[e]=c,E._jQueryInterface}}(jQuery),function(t){var e="dropdown",s="bs.dropdown",a="."+s,l=".data-api",h=t.fn[e],_={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,CLICK:"click"+a,CLICK_DATA_API:"click"+a+l,FOCUSIN_DATA_API:"focusin"+a+l,KEYDOWN_DATA_API:"keydown"+a+l},g_BACKDROP="dropdown-backdrop",g_DISABLED="disabled",g_SHOW="show",p_BACKDROP=".dropdown-backdrop",p_DATA_TOGGLE='[data-toggle="dropdown"]',l=".dropdown form",p_ROLE_MENU='[role="menu"]',p_ROLE_LISTBOX='[role="listbox"]',p_NAVBAR_NAV=".navbar-nav",p_VISIBLE_ITEMS='[role="menu"] li:not(.disabled) a, [role="listbox"] li:not(.disabled) a',m=function(){function e(t){n(this,e),this._element=t,this._addEventListeners()}return e.prototype.toggle=function(){if(this.disabled||t(this).hasClass(g_DISABLED))return!1;var n=e._getParentFromElement(this),i=t(n).hasClass(g_SHOW);if(e._clearMenus(),i)return!1;"ontouchstart"in document.documentElement&&!t(n).closest(p_NAVBAR_NAV).length&&((i=document.createElement("div")).className=g_BACKDROP,t(i).insertBefore(this),t(i).on("click",e._clearMenus));var i={relatedTarget:this},s=t.Event(_.SHOW,i);return t(n).trigger(s),!s.isDefaultPrevented()&&(this.focus(),this.setAttribute("aria-expanded",!0),t(n).toggleClass(g_SHOW),t(n).trigger(t.Event(_.SHOWN,i)),!1)},e.prototype.dispose=function(){t.removeData(this._element,s),t(this._element).off(a),this._element=null},e.prototype._addEventListeners=function(){t(this._element).on(_.CLICK,this.toggle)},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(s);if(i||(i=new e(this),t(this).data(s,i)),"string"==typeof n){if(void 0===i[n])throw new Error('No method named "'+n+'"');i[n].call(this)}})},e._clearMenus=function(n){if(!n||3!==n.which){var i=t(p_BACKDROP)[0];i&&i.parentNode.removeChild(i);for(var o=t.makeArray(t(p_DATA_TOGGLE)),r=0;rdocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},h.prototype._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},h.prototype._checkScrollbar=function(){this._isBodyOverflowing=document.body.clientWidth=this._offsets[o]&&(void 0===this._offsets[o+1]||t "+g_NAV_LINKS)).addClass(__ACTIVE),t(this._scrollElement).trigger(f.ACTIVATE,{relatedTarget:e})},h.prototype._clear=function(){t(this._selector).filter(g_ACTIVE).removeClass(__ACTIVE)},h._jQueryInterface=function(e){return this.each(function(){var n=t(this).data(a),o="object"===(void 0===e?"undefined":i(e))&&e;if(n||(n=new h(this,o),t(this).data(a,n)),"string"==typeof e){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e]()}})},o(h,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return u}}]),h}();t(window).on(f.LOAD_DATA_API,function(){for(var e=t.makeArray(t(g_DATA_SPY)),n=e.length;n--;){var i=t(e[n]);m._jQueryInterface.call(i,i.data())}}),t.fn[e]=m._jQueryInterface,t.fn[e].Constructor=m,t.fn[e].noConflict=function(){return t.fn[e]=c,m._jQueryInterface}}(jQuery),function(t){var e="tab",s="bs.tab",a="."+s,h=t.fn[e],u={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,CLICK_DATA_API:"click"+a+".data-api"},d_DROPDOWN_MENU="dropdown-menu",d_ACTIVE="active",d_DISABLED="disabled",d_FADE="fade",d_SHOW="show",f_DROPDOWN=".dropdown",f_LIST="ul:not(.dropdown-menu), ol:not(.dropdown-menu), nav:not(.dropdown-menu)",f_FADE_CHILD="> .nav-item .fade, > .fade",f_ACTIVE=".active",f_ACTIVE_CHILD="> .nav-item > .active, > .active",a='[data-toggle="tab"], [data-toggle="pill"]',f_DROPDOWN_TOGGLE=".dropdown-toggle",f_DROPDOWN_ACTIVE_CHILD="> .dropdown-menu .active",_=function(){function e(t){n(this,e),this._element=t}return e.prototype.show=function(){var n,i,o,s,a,l,e=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(d_ACTIVE)||t(this._element).hasClass(d_DISABLED)||(i=n=void 0,o=t(this._element).closest(f_LIST)[0],s=r.getSelectorFromElement(this._element),o&&(i=(i=t.makeArray(t(o).find(f_ACTIVE)))[i.length-1]),a=t.Event(u.HIDE,{relatedTarget:this._element}),l=t.Event(u.SHOW,{relatedTarget:i}),i&&t(i).trigger(a),t(this._element).trigger(l),l.isDefaultPrevented())||a.isDefaultPrevented()||(s&&(n=t(s)[0]),this._activate(this._element,o),l=function(){var n=t.Event(u.HIDDEN,{relatedTarget:e._element}),o=t.Event(u.SHOWN,{relatedTarget:i});t(i).trigger(n),t(e._element).trigger(o)},n?this._activate(n,n.parentNode,l):l())},e.prototype.dispose=function(){t.removeClass(this._element,s),this._element=null},e.prototype._activate=function(e,n,i){function l(){return o._transitionComplete(e,s,a,i)}var o=this,s=t(n).find(f_ACTIVE_CHILD)[0],a=i&&r.supportsTransitionEnd()&&(s&&t(s).hasClass(d_FADE)||Boolean(t(n).find(f_FADE_CHILD)[0]));s&&a?t(s).one(r.TRANSITION_END,l).emulateTransitionEnd(150):l(),s&&t(s).removeClass(d_SHOW)},e.prototype._transitionComplete=function(e,n,i,o){var s;n&&(t(n).removeClass(d_ACTIVE),(s=t(n.parentNode).find(f_DROPDOWN_ACTIVE_CHILD)[0])&&t(s).removeClass(d_ACTIVE),n.setAttribute("aria-expanded",!1)),t(e).addClass(d_ACTIVE),e.setAttribute("aria-expanded",!0),i?(r.reflow(e),t(e).addClass(d_SHOW)):t(e).removeClass(d_FADE),e.parentNode&&t(e.parentNode).hasClass(d_DROPDOWN_MENU)&&((s=t(e).closest(f_DROPDOWN)[0])&&t(s).find(f_DROPDOWN_TOGGLE).addClass(d_ACTIVE),e.setAttribute("aria-expanded",!0)),o&&o()},e._jQueryInterface=function(n){return this.each(function(){var i=t(this),o=i.data(s);if(o||(o=new e(this),i.data(s,o)),"string"==typeof n){if(void 0===o[n])throw new Error('No method named "'+n+'"');o[n]()}})},o(e,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}}]),e}();t(document).on(u.CLICK_DATA_API,a,function(e){e.preventDefault(),_._jQueryInterface.call(t(this),"show")}),t.fn[e]=_._jQueryInterface,t.fn[e].Constructor=_,t.fn[e].noConflict=function(){return t.fn[e]=h,_._jQueryInterface}}(jQuery),function(t){if("undefined"==typeof Tether)throw new Error("Bootstrap tooltips require Tether (http://tether.io/)");var e="tooltip",a="bs.tooltip",l="."+a,h=t.fn[e],d={animation:!0,template:'',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:"0 0",constraints:[],container:!1},f={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"string",constraints:"array",container:"(string|element|boolean)"},_={TOP:"bottom center",RIGHT:"middle left",BOTTOM:"top center",LEFT:"middle right"},g_SHOW="show",g_OUT="out",p={HIDE:"hide"+l,HIDDEN:"hidden"+l,SHOW:"show"+l,SHOWN:"shown"+l,INSERTED:"inserted"+l,CLICK:"click"+l,FOCUSIN:"focusin"+l,FOCUSOUT:"focusout"+l,MOUSEENTER:"mouseenter"+l,MOUSELEAVE:"mouseleave"+l},m_FADE="fade",m_SHOW="show",E_TOOLTIP_INNER=".tooltip-inner",v={element:!1,enabled:!1},T_HOVER="hover",T_FOCUS="focus",T_CLICK="click",T_MANUAL="manual",I=function(){function h(t,e){n(this,h),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._isTransitioning=!1,this._tether=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}return h.prototype.enable=function(){this._isEnabled=!0},h.prototype.disable=function(){this._isEnabled=!1},h.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},h.prototype.toggle=function(e){var n,i;e?(n=this.constructor.DATA_KEY,(i=t(e.currentTarget).data(n))||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)):t(this.getTipElement()).hasClass(m_SHOW)?this._leave(null,this):this._enter(null,this)},h.prototype.dispose=function(){clearTimeout(this._timeout),this.cleanupTether(),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),t(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._tether=null,this.element=null,this.config=null,this.tip=null},h.prototype.show=function(){var e=this;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");var n=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){if(this._isTransitioning)throw new Error("Tooltip is transitioning");t(this.element).trigger(n);var c,i=t.contains(this.element.ownerDocument.documentElement,this.element);!n.isDefaultPrevented()&&i&&(n=this.getTipElement(),i=r.getUID(this.constructor.NAME),n.setAttribute("id",i),this.element.setAttribute("aria-describedby",i),this.setContent(),this.config.animation&&t(n).addClass(m_FADE),i="function"==typeof this.config.placement?this.config.placement.call(this,n,this.element):this.config.placement,i=this._getAttachment(i),c=!1===this.config.container?document.body:t(this.config.container),t(n).data(this.constructor.DATA_KEY,this).appendTo(c),t(this.element).trigger(this.constructor.Event.INSERTED),this._tether=new Tether({attachment:i,element:n,target:this.element,classes:v,classPrefix:"bs-tether",offset:this.config.offset,constraints:this.config.constraints,addTargetClasses:!1}),r.reflow(n),this._tether.position(),t(n).addClass(m_SHOW),c=function(){var n=e._hoverState;e._hoverState=null,e._isTransitioning=!1,t(e.element).trigger(e.constructor.Event.SHOWN),n===g_OUT&&e._leave(null,e)},r.supportsTransitionEnd()&&t(this.tip).hasClass(m_FADE)?(this._isTransitioning=!0,t(this.tip).one(r.TRANSITION_END,c).emulateTransitionEnd(h._TRANSITION_DURATION)):c())}},h.prototype.hide=function(e){var n=this,i=this.getTipElement(),o=t.Event(this.constructor.Event.HIDE);if(this._isTransitioning)throw new Error("Tooltip is transitioning");function s(){n._hoverState!==g_SHOW&&i.parentNode&&i.parentNode.removeChild(i),n.element.removeAttribute("aria-describedby"),t(n.element).trigger(n.constructor.Event.HIDDEN),n._isTransitioning=!1,n.cleanupTether(),e&&e()}t(this.element).trigger(o),o.isDefaultPrevented()||(t(i).removeClass(m_SHOW),this._activeTrigger[T_CLICK]=!1,this._activeTrigger[T_FOCUS]=!1,this._activeTrigger[T_HOVER]=!1,r.supportsTransitionEnd()&&t(this.tip).hasClass(m_FADE)?(this._isTransitioning=!0,t(i).one(r.TRANSITION_END,s).emulateTransitionEnd(150)):s(),this._hoverState="")},h.prototype.isWithContent=function(){return Boolean(this.getTitle())},h.prototype.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0]},h.prototype.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(E_TOOLTIP_INNER),this.getTitle()),e.removeClass(m_FADE+" "+m_SHOW),this.cleanupTether()},h.prototype.setElementContent=function(e,n){var o=this.config.html;"object"===(void 0===n?"undefined":i(n))&&(n.nodeType||n.jquery)?o?t(n).parent().is(e)||e.empty().append(n):e.text(t(n).text()):e[o?"html":"text"](n)},h.prototype.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},h.prototype.cleanupTether=function(){this._tether&&this._tether.destroy()},h.prototype._getAttachment=function(t){return _[t.toUpperCase()]},h.prototype._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach(function(n){var i;"click"===n?t(e.element).on(e.constructor.Event.CLICK,e.config.selector,function(t){return e.toggle(t)}):n!==T_MANUAL&&(i=n===T_HOVER?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,n=n===T_HOVER?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT,t(e.element).on(i,e.config.selector,function(t){return e._enter(t)}).on(n,e.config.selector,function(t){return e._leave(t)})),t(e.element).closest(".modal").on("hide.bs.modal",function(){return e.hide()})}),this.config.selector?this.config=t.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},h.prototype._fixTitle=function(){var t=i(this.element.getAttribute("data-original-title"));!this.element.getAttribute("title")&&"string"===t||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},h.prototype._enter=function(e,n){var i=this.constructor.DATA_KEY;return(n=n||t(e.currentTarget).data(i))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger["focusin"===e.type?T_FOCUS:T_HOVER]=!0),t(n.getTipElement()).hasClass(m_SHOW)||n._hoverState===g_SHOW?void(n._hoverState=g_SHOW):(clearTimeout(n._timeout),n._hoverState=g_SHOW,n.config.delay&&n.config.delay.show?void(n._timeout=setTimeout(function(){n._hoverState===g_SHOW&&n.show()},n.config.delay.show)):void n.show())},h.prototype._leave=function(e,n){var i=this.constructor.DATA_KEY;if((n=n||t(e.currentTarget).data(i))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger["focusout"===e.type?T_FOCUS:T_HOVER]=!1),!n._isWithActiveTrigger())return clearTimeout(n._timeout),n._hoverState=g_OUT,n.config.delay&&n.config.delay.hide?void(n._timeout=setTimeout(function(){n._hoverState===g_OUT&&n.hide()},n.config.delay.hide)):void n.hide()},h.prototype._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},h.prototype._getConfig=function(n){return(n=t.extend({},this.constructor.Default,t(this.element).data(),n)).delay&&"number"==typeof n.delay&&(n.delay={show:n.delay,hide:n.delay}),r.typeCheckConfig(e,n,this.constructor.DefaultType),n},h.prototype._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},h._jQueryInterface=function(e){return this.each(function(){var n=t(this).data(a),o="object"===(void 0===e?"undefined":i(e))&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new h(this,o),t(this).data(a,n)),"string"==typeof e)){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e]()}})},o(h,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return d}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return a}},{key:"Event",get:function(){return p}},{key:"EVENT_KEY",get:function(){return l}},{key:"DefaultType",get:function(){return f}}]),h}();return t.fn[e]=I._jQueryInterface,t.fn[e].Constructor=I,t.fn[e].noConflict=function(){return t.fn[e]=h,I._jQueryInterface},I}(jQuery));!function(r){var a="popover",h="bs.popover",c="."+h,u=r.fn[a],d=r.extend({},s.Default,{placement:"right",trigger:"click",content:"",template:''}),f=r.extend({},s.DefaultType,{content:"(string|element|function)"}),__FADE="fade",__SHOW="show",g_TITLE=".popover-title",g_CONTENT=".popover-content",p={HIDE:"hide"+c,HIDDEN:"hidden"+c,SHOW:"show"+c,SHOWN:"shown"+c,INSERTED:"inserted"+c,CLICK:"click"+c,FOCUSIN:"focusin"+c,FOCUSOUT:"focusout"+c,MOUSEENTER:"mouseenter"+c,MOUSELEAVE:"mouseleave"+c},m=function(s){function u(){return n(this,u),function(t,e){if(t)return!e||"object"!=typeof e&&"function"!=typeof e?t:e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(this,s.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(u,s),u.prototype.isWithContent=function(){return this.getTitle()||this._getContent()},u.prototype.getTipElement=function(){return this.tip=this.tip||r(this.config.template)[0]},u.prototype.setContent=function(){var t=r(this.getTipElement());this.setElementContent(t.find(g_TITLE),this.getTitle()),this.setElementContent(t.find(g_CONTENT),this._getContent()),t.removeClass(__FADE+" "+__SHOW),this.cleanupTether()},u.prototype._getContent=function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)},u._jQueryInterface=function(t){return this.each(function(){var e=r(this).data(h),n="object"===(void 0===t?"undefined":i(t))?t:null;if((e||!/destroy|hide/.test(t))&&(e||(e=new u(this,n),r(this).data(h,e)),"string"==typeof t)){if(void 0===e[t])throw new Error('No method named "'+t+'"');e[t]()}})},o(u,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return d}},{key:"NAME",get:function(){return a}},{key:"DATA_KEY",get:function(){return h}},{key:"Event",get:function(){return p}},{key:"EVENT_KEY",get:function(){return c}},{key:"DefaultType",get:function(){return f}}]),u}(s);r.fn[a]=m._jQueryInterface,r.fn[a].Constructor=m,r.fn[a].noConflict=function(){return r.fn[a]=u,m._jQueryInterface}}(jQuery)}();var onepressIsMobile={Android:function(){return navigator.userAgent.match(/Android/i)},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return navigator.userAgent.match(/IEMobile/i)},any:function(){return onepressIsMobile.Android()||onepressIsMobile.BlackBerry()||onepressIsMobile.iOS()||onepressIsMobile.Opera()||onepressIsMobile.Windows()}};function preload_images(images,complete_callback){var id;onepress_js_settings.hero_disable_preload?complete_callback&&complete_callback():(id="_img_loading_"+(new Date).getTime(),jQuery("body").append('
'),jQuery.each(images,function(index,src){var img=jQuery("");img.attr("alt",""),img.attr("class","image__preload"),img.css("display","none"),img.attr("src",src),jQuery("#"+id).append(img)}),jQuery("#"+id).imagesLoaded(function(){complete_callback&&complete_callback(),setTimeout(function(){jQuery("#"+id).remove()},5e3)}))}function _to_number(string){return"number"==typeof string?string:(string=string.match(/\d+$/))?parseFloat(string[0]):0}function _to_bool(v){return"boolean"==typeof v?v:"number"==typeof v?0!==v:"string"==typeof v&&("true"===v||"1"===v)}function isElementInViewport(el){el=(el="function"==typeof jQuery&&el instanceof jQuery?el[0]:el).getBoundingClientRect();return 0<=el.top&&0<=el.left&&el.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&el.right<=(window.innerWidth||document.documentElement.clientWidth)}!function(){var is_webkit=-1'),$thisSticky.parent().removeAttr("style"),$thisSticky.parent().height($thisSticky.height())})}function _whenScrolling(){var top=getAdminBarHeight(),scrollTop=$window.scrollTop();$stickies.each(function(i){var $thisSticky=$(this),$stickyPosition=$thisSticky.parent().offset().top;0===scrollTop&&$thisSticky.addClass("no-scroll"),$stickyPosition-top<=scrollTop?(0 .container");const headerRect=header.length?header[0].getBoundingClientRect():{};$("#site-navigation .onepress-menu > li").each(function(){var liRect,subRect,li=$(this),sub=$("> .sub-menu",li);isMobile?sub.removeAttr("style"):sub.length&&(liRect=li[0].getBoundingClientRect(),subRect=sub[0].getBoundingClientRect(),headerRect.right{main_navigation.hasClass("onepress-menu-mobile")&&$(window).width()<=1140?noSticky||main_navigation.css({height:getNavHeight(),overflow:"auto"}):(main_navigation.removeAttr("style"),main_navigation.removeClass("onepress-menu-mobile"),jQuery("#nav-toggle").removeClass("nav-is-visible")),autoMenuAlign()},500)}),jQuery(".onepress-menu li.menu-item-has-children, .onepress-menu li.page_item_has_children").each(function(){jQuery(this).prepend('')}),$document.on("click",".nav-toggle-subarrow, .nav-toggle-subarrow .nav-toggle-subarrow",function(){var p=jQuery(this).parent();p.removeAttr("style"),p.toggleClass("nav-toggle-dropdown")}),window.current_nav_item=!1,h="1"!=onepress_js_settings.onepress_disable_sticky_header?jQuery("#wpadminbar").height()+jQuery(".site-header").height():jQuery("#wpadminbar").height(),jQuery('#site-navigation li a[href*="#"]').on("click",function(event){var $el,url=new URL(this.href);url.origin+url.pathname===window.location.origin+window.location.pathname&&($el=jQuery(this.hash),jQuery(".onepress-menu").hasClass("onepress-menu-mobile")&&jQuery("#nav-toggle").trigger("click"),$el.length)&&(event.preventDefault(),window.history.pushState({},null,url.href),smoothScroll($el))});var _scroll_top=$window.scrollTop();function smoothScroll(element){element.length<=0||jQuery("html, body").animate({scrollTop:jQuery(element).offset().top-h+"px"},{duration:800,easing:"swing",complete:function(){window.current_nav_item=!1}})}jQuery(window).scroll(function(){var currentNode=null;if(window.current_nav_item)currentNode=window.current_nav_item.replace("#","");else{var current_top=$window.scrollTop(),adminBarHeight=0",""],autoHeight:!0,rtl:0!=is_rtl,dots:!1}),$(".gallery-carousel",$context).each(function(){var n=$(this).attr("data-col")||5;(n=_to_number(n))<=0&&(n=5),$(this).owlCarousel({items:n,responsive:{0:{items:2},768:{items:2",""],dots:!1})})),$(".gallery-masonry",$context).imagesLoaded(function(){isotope_init()}),$(window).resize(function(){isotope_init()}),$.fn.lightGallery&&(tag_selector="a",$(".enable-lightbox",$context).find(".g-item").first().is("div")&&(tag_selector="div"),$(".enable-lightbox",$context).lightGallery({mode:"lg-fade",selector:tag_selector}))}heroSliders(),$document.on("header_view_changed",function(){heroSliders()}),$(".parallax-hero").each(function(){var hero=$(this),bg=(hero.addClass("loading"),!0);0